package com.boot.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.boot.ao.auth.LoginAO;
import com.boot.ao.sysuser.AddSysUserAO;
import com.boot.ao.sysuser.UpdateSysUserAO;
import com.boot.common.po.Result;
import com.boot.entity.SysUser;

import java.util.List;

public interface SysUserService extends IService<SysUser> {

    List<SysUser> getList();

    SysUser getUserById(Long id);

    void add(AddSysUserAO addSysUserAO);

    void update(UpdateSysUserAO updateSysUserAO);

    void delete(Long id);

    void insert(SysUser sysUser);

    Result login(LoginAO loginAO);
}
